package cn.community.care.module.system.controller.admin.article.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.community.care.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.community.care.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 文章分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ArticlePageReqVO extends PageParam {

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "文章封面")
    private String coverImage;

    @Schema(description = "文章视频", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "文章状态（1：正常，0：删除）", example = "1")
    private String status;

    @Schema(description = "文章话题ID", example = "19866")
    private Long topicId;
    @Schema(description = "文章话题code", example = "19866")
    private String topicCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "商品id", example = "20341")
    private Long productId;
    private Boolean isAllData;
    private String topicCo;
    private List<Long> authorIdReq;



}